package cn.wind.xboot.logic.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

/**
 *平台商户dto
 * @author WangHao
 * @date 2018-12-29
 */
public class CliStoreDto {
    /**
     * 平台商户id
     */
    private Long cliId;
    /**
     * 商户真实姓名
     */
    private String realName;
    /**
     * 商户手机号
     */
    private String phone;
    /**
     * 商户名称
     */
    private String nickName;
    /**
     * 摊位号
     */
    private String storeNo;
    /**
     * 商户所属菜市场名称
     */
    private String marketName;
    /**
     * 所在位置
     */
    private String address;
    /**
     * 注册时间
     */
    private Date createTime;
    /**
     * 是否黑名单
     */
    private Boolean isEnabled;
    /**
     * 银行卡号
     */
    private String bankCard;
    /**
     * 身份证件号码
     */
    private String idCard;

    /**
     * 商铺名称
     * @return
     */
    private String storeName;

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public Long getCliId() {
        return cliId;
    }
    @JsonSerialize(using = ToStringSerializer.class)
    public void setCliId(Long cliId) {
        this.cliId = cliId;
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getStoreNo() {
        return storeNo;
    }

    public void setStoreNo(String storeNo) {
        this.storeNo = storeNo;
    }

    public String getMarketName() {
        return marketName;
    }

    public void setMarketName(String marketName) {
        this.marketName = marketName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Boolean getEnabled() {
        return isEnabled;
    }

    public void setEnabled(Boolean enabled) {
        isEnabled = enabled;
    }

    public String getBankCard() {
        return bankCard;
    }

    public void setBankCard(String bankCard) {
        this.bankCard = bankCard;
    }

    public String getIdCard() {
        return idCard;
    }

    public void setIdCard(String idCard) {
        this.idCard = idCard;
    }
}
